﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Wwtfly.BBS.ForeModels.Models.Lottery;
using Wwtfly.BBS.ForeDAL.Lottery;
using Wwtfly.LoggerUtility;

namespace Wwtfly.BBS.ForeBLL.Lottery
{
    /// <summary>
    /// 彩种类型\
    /// </summary>
    public class T_LotteryTypeBLL
    {
        /// <summary>
        /// 获取 彩种类型 信息
        /// </summary>
        /// <returns></returns>
        public static IList<T_LotteryTypeModel> GetT_LotteryTypeList()
        {
            try
            {
                return T_LotteryTypeDAL.GetT_LotteryTypeList();
            }
            catch (Exception ex)
            {
                LoggerManage.Error(new LogMessageParams()
                {
                    ModuleID = "T_LotteryTypeBLL",
                    FuncCode = "GetT_LotteryTypeList",
                    Level = AppErrorLevel.EROR,
                    ErrCode = "0x0",
                    Excep = ex,
                    logMessage = "获取 彩种类型 信息.出错",
                    ProgramName = "Wwtilfy.BBS"
                });
                return  new List<T_LotteryTypeModel>();
            }
        }
    }
}
